﻿using Architecture.CrossCutting.Common.Logging;
using Architecture.CrossCutting.Web.Tracing.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Tracing;

namespace Architecture.CrossCutting.Web.WebApi
{
    public class StandardWebApiLogger : IGenericLogger<WebApiLog>
    {
        public void WriteError(string message, WebApiLog data, Exception ex)
        {
            throw new NotImplementedException();
        }

        public void WriteInfo(string message, WebApiLog data)
        {
            System.Diagnostics.Debug.WriteLine(data.ToString());
        }
    }
}
